<?php
/**
 * DolphinGTK - phpGtk framework
 *
 * Графический модуль
 *
 * @package    DolphinGTK
 * @author     Askarov Ruslan
 * @copyright  Askarov Ruslan (c) 2010.
 * @link       http://groups.google.com/group/dolphingtk
 * @license    http://www.opensource.org/licenses/gpl-license.php GPL
 * @version    0.1
 * @since      PHP v.: 5.2.1
 * @subpackage desktop
 * @category   module
 * @filesource
 */


class Copyright
{
  function set()
  {
    $frame = new GtkFrame();
    $eventbox = new GtkEventBox();
    $copyright = new GtkLabel();


    $copyright->set_text("DolphinGTK v.0.1. Copyright (c) 2010, Askarov Ruslan.");
    $copyright->modify_font(new PangoFontDescription("Times New Roman Italic 8"));
    $copyright->modify_fg(Gtk::STATE_NORMAL, GdkColor::parse("#2F2F2F"));
    $copyright->set_size_request(-1, 40);

    $eventbox->modify_bg(Gtk::STATE_NORMAL, GdkColor::parse('#E6DDD5'));
    $eventbox->add($copyright);

    $frame->modify_bg(Gtk::STATE_NORMAL, GdkColor::parse('#C9B9AB'));
    $frame->add($eventbox);

    return $frame;
  }
}
?>